﻿using Dealin.Application.DeviceManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Dealin.Code;
namespace Dealin.Web.Areas.WarningManage.Controllers
{
    public class Breaks_BatteryController : ControllerBase

    {
        //
        // GET: /WarningManage/Breaks_Battery/

        private BatteryApp app = new BatteryApp();

        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson(string keyword)
        {
            var data = app.GetListOffLine(keyword);
            return Content(data.ToJson());
        }

    }
}
